package com.rykj.energy.database.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
@TableName("basic_notice")
@ApiModel("通知方式表")
public class BasicNotice extends BasePojo{

    @ApiModelProperty("主键")
    @TableId(value = "id",type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "任务类型")
    @TableField(value = "businessType")
    private String businessType;

    @ApiModelProperty(value = "语音播报范围")
    @TableField(value = "audioLevel")
    private String audioLevel;

    @ApiModelProperty(value = "语音播报内容")
    @TableField(value = "audioContent")
    private String audioContent;

    @ApiModelProperty(value = "弹窗范围")
    @TableField(value = "windowLevel")
    private String windowLevel;

    @ApiModelProperty(value = "事件等级")
    @TableField(value = "noticeLevel")
    private String noticeLevel;

    @ApiModelProperty(value = "报警频率")
    @TableField(value = "noticeFrequency")
    private String noticeFrequency;

    @ApiModelProperty(value = "app推送范围")
    @TableField(value = "appLevel")
    private String appLevel;

    @ApiModelProperty(value = "微信推送范围")
    @TableField(value = "weixinLevel")
    private String weixinLevel;

    @ApiModelProperty(value = "业务名称")
    @TableField(exist=false)
    private String busineesName;
}
